using SqlSugar;

namespace ZhiKeDuoServer.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class GoodsInfo
    {
        private System.Int32 _Id;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsIdentity = true)]
        public System.Int32 Id { get { return this._Id; } set { this._Id = value; } }

        private System.String _Code;
        /// <summary>
        /// 
        /// </summary>
        ///  

        public System.String Code { get { return this._Code; } set { this._Code = value?.Trim(); } }

        private System.String _GoodName;
        /// <summary>
        /// 
        /// </summary>
        public System.String GoodName { get { return this._GoodName; } set { this._GoodName = value?.Trim(); } }

        private System.Int32? _Category;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Category { get { return this._Category; } set { this._Category = value ?? default(System.Int32); } }

        private System.String _CategoryName;
        /// <summary>
        /// 
        /// </summary>
        public System.String CategoryName { get { return this._CategoryName; } set { this._CategoryName = value?.Trim(); } }

        private System.Int32? _Unit;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Unit { get { return this._Unit; } set { this._Unit = value ?? default(System.Int32); } }

        private System.String _UnitName;
        /// <summary>
        /// 
        /// </summary>
        public System.String UnitName { get { return this._UnitName; } set { this._UnitName = value?.Trim(); } }

        private System.String _Factory;
        /// <summary>
        /// 
        /// </summary>
        public System.String Factory { get { return this._Factory; } set { this._Factory = value?.Trim(); } }

        private System.Int32? _Supplier;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Supplier { get { return this._Supplier; } set { this._Supplier = value ?? default(System.Int32); } }

        private System.String _SupplierName;
        /// <summary>
        /// 
        /// </summary>
        public System.String SupplierName { get { return this._SupplierName; } set { this._SupplierName = value?.Trim(); } }

        private System.Double? _Price0;
        /// <summary>
        /// 
        /// </summary>
        public System.Double? Price0 { get { return this._Price0; } set { this._Price0 = value ?? default(System.Double); } }

        private System.Double? _Price1;
        /// <summary>
        /// 
        /// </summary>
        public System.Double? Price1 { get { return this._Price1; } set { this._Price1 = value ?? default(System.Double); } }

        private System.Double? _Price2;
        /// <summary>
        /// 
        /// </summary>
        public System.Double? Price2 { get { return this._Price2; } set { this._Price2 = value ?? default(System.Double); } }

        private System.Int32? _Counts;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Counts { get { return this._Counts; } set { this._Counts = value ?? default(System.Int32); } }
        public int syc { get; set; }
    }
}